aboutsummaryrefslogtreecommitdiff
path: root/src/pages/blog/[event]/index.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/blog/[event]/index.astro')
-rw-r--r--src/pages/blog/[event]/index.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/blog/[event]/index.astro b/src/pages/blog/[event]/index.astro
index 46e2557..f41e010 100644
--- a/src/pages/blog/[event]/index.astro
+++ b/src/pages/blog/[event]/index.astro
@@ -2,7 +2,7 @@
import BaseHead from "../../../components/BaseHead.astro";
import Header from "../../../components/Header.astro";
import Footer from "../../../components/Footer.astro";
-import { SITE_TITLE, SITE_DESCRIPTION } from "../../../consts";
+import { SITE_TITLE, SITE_DESCRIPTION, SITE_BASE } from "../../../consts";
import { getCollection } from "astro:content";
import FormattedDate from "../../../components/FormattedDate.astro";
@@ -112,7 +112,7 @@ const posts = blogs
{
posts.map((post) => (
<li>
- <a href={`/astro-blog/blog/${post.id}`}>
+ <a href={`${SITE_BASE}/blog/${post.id}`}>
<h4 class="title">{post.data.title}</h4>
</a>
</li>